﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GifAnimator.AnimatedImage
{
    public class GifMetadata
    {
        //    Disposal = "/grctlext/Disposal",
        //    UserInputFlag = "/grctlext/UserInputFlag",
        //    TransparencyFlag = "/grctlext/TransparencyFlag",
        //    Delay = "/grctlext/Delay",
        //    TransparentColorIndex = "/grctlext/TransparentColorIndex",
        //    Left = "/imgdesc/Left",
        //    Top = "/imgdesc/Top",
        //    Width = "/imgdesc/Width",
        //    Height = "/imgdesc/Height",
        //    LocalColorTableFlag = "/imgdesc/LocalColorTableFlag",
        //    InterlaceFlag = "/imgdesc/InterlaceFlag",
        //    SortFlag = "/imgdesc/SortFlag",
        //    LocalColorTableSize = "/imgdesc/LocalColorTableSize"


        public enum MetadataName
        {
            Disposal,
            UserInputFlag,
            TransparencyFlag,
            Delay,
            TransparentColorIndex,
            Left,
            Top,
            Width,
            Height,
            LocalColorTableFlag,
            InterlaceFlag,
            SortFlag,
            LocalColorTableSize
        }

        private List<Metadata> metadata = new List<Metadata>();

        public GifMetadata()
        {
            metadata = new List<Metadata>();
            
        }

        public void SetMetadata(MetadataName name, object value)
        {

        }
        public List<Metadata> GetMetadata()
        {
            return null;
        }
        public void Clear()
        {
            metadata.Clear();
        }
    }
}
